package com.lixiaohan.lushudaohou.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;

@Data
@AllArgsConstructor//只加有参构造
@NoArgsConstructor//补上无参构造
@Entity
public class RoamScenic {
    @Id
    private Integer scenicId;//景点编号(N)
    private String scenicName;//景点标题(N)
}
